// 页面路径：store/index.js
import {
	createStore
} from 'vuex'
const store = createStore({
	state: { //存放状态
		"userType": 1,
		"avatarUrl":"",
		"nickName":"",
		"province":"",
		"gender":0,
		"userSid":"",
		"patriarchCode":0,
		"isAfficheShow":true,
	},
	mutations: {
		myMutation(state, payload) {
			state.userType = payload
		}
	}
})

export default store
